package com.codegeek.project.slope.service;

import com.codegeek.project.slope.domain.SlopeItemHistory;

import java.util.List;

/**
 * 监测项历史数据Service接口
 *
 * @author codegeek
 * @date 2020-02-17
 */
public interface ISlopeItemHistoryService
{
    /**
     * 查询监测项历史数据
     *
     * @param itemHistoryId 监测项历史数据ID
     * @return 监测项历史数据
     */
    public SlopeItemHistory selectSlopeItemHistoryById(Long itemHistoryId);

    /**
     * 查询监测项历史数据列表
     *
     * @param slopeItemHistory 监测项历史数据
     * @return 监测项历史数据集合
     */
    public List<SlopeItemHistory> selectSlopeItemHistoryList(SlopeItemHistory slopeItemHistory);

    /**
     * 新增监测项历史数据
     *
     * @param slopeItemHistory 监测项历史数据
     * @return 结果
     */
    public int insertSlopeItemHistory(SlopeItemHistory slopeItemHistory);

    /**
     * 修改监测项历史数据
     *
     * @param slopeItemHistory 监测项历史数据
     * @return 结果
     */
    public int updateSlopeItemHistory(SlopeItemHistory slopeItemHistory);

    /**
     * 批量删除监测项历史数据
     *
     * @param itemHistoryIds 需要删除的监测项历史数据ID
     * @return 结果
     */
    public int deleteSlopeItemHistoryByIds(Long[] itemHistoryIds);

    /**
     * 删除监测项历史数据信息
     *
     * @param itemHistoryId 监测项历史数据ID
     * @return 结果
     */
    public int deleteSlopeItemHistoryById(Long itemHistoryId);

    /**
     *
     * @param itemId
     * @param date
     * @return
     */
    public SlopeItemHistory selectSlopeItemHistoryByItemIdAndDate(Long itemId, String date);

    /**
     *
     * @param slopeItemHistory
     * @return
     */
    List<SlopeItemHistory> selectSlopeItemHistoryList2(SlopeItemHistory slopeItemHistory);
}
